package top.huxy.boot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
import top.huxy.boot.model.entity.User;
import top.huxy.boot.model.vo.user.VO_User;

/**
 * @author HuXY
 * @since 2021-12-20 10:01:57
 */
@Mapper
@Repository
public interface UserDao{

    VO_User getVOUSerByUserId(String userId);

    int insertUser(User user);

    User getUserByUserId(String userId);

    User getUserByUserName(String username);

    VO_User getVOUSerByUserNameAndPassword(String username, String password);
}
